@echo off
setlocal
pushd "%~dp0"
set MSBUILDEXE=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
if not exist "%MSBUILDEXE%" (
    echo Microsoft Build Engine ^(MSBuild^) 4.0 does not appear to be 
    echo installed on this machine, which is required to build the 
    echo solution.
    exit /b 1
)
if exist "%MSBUILDEXE%" "%MSBUILDEXE%" Glimpse.Elmah.sln /p:Configuration=Debug
popd
endlocal
pause